@extends('admin.layout')
@section('title','修改专家')
@section('content')
                <div class="app_content_div" id="app_content_div_301Index">
                    <h3>修改专家</h3>

                <form action="/adm/expert/{{$oExpert->id}}" method="post" enctype="multipart/form-data" class="form-horizontal">
                    {{csrf_field()}}
                    @method('PUT')
                    <div class="form-group">
                        <label for="name" class="col-sm-2 control-label"><span style="color:red;">*</span>姓名</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="name" name="name" value="{{$oExpert->name}}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="upload_file" class="col-sm-2 control-label"><span style="color:red;">*</span>照片</label>
                        <div class="col-sm-10">
                            <div><img src="{{$oExpert->thumb}}" alt="" style="width:200px;height:160px"></div>
                            <input type="file" id="thumb" name="thumb">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="department" class="col-sm-2 control-label"><span style="color:red;">*</span>科室</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="department" name="department" value="{{$oExpert->department}}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="title" class="col-sm-2 control-label"><span style="color:red;">*</span>职称</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="position" name="position" value="{{$oExpert->position}}">

                        </div>
                    </div>
                    <div class="form-group">
                        <label for="postion" class="col-sm-2 control-label"><span style="color:red;">*</span>职务</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="duties" name="duties" value="{{$oExpert->duties}}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="hospital" class="col-sm-2 control-label"><span style="color:red;">*</span>医院</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="hospital"  name="hospital" value="{{$oExpert->hospital}}">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="description" class="col-sm-2 control-label"><span style="color:red;">*</span>简介</label>
                        <div class="col-sm-10">
                            <textarea class="form-control" id="profile" name="profile" rows="5" >{{$oExpert->profile}}</textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="description" class="col-sm-2 control-label"><span style="color:red;">*</span>受教育方面</label>
                        <div class="col-sm-10">
                            <textarea class="form-control" id="education" name="education" rows="5" ></textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">确定</button>
                        </div>
                    </div>

                </form>
                </div>
                </body>

                </html>
@endsection
